package cn.jiedh.app.meiweidk.web.webhandle;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @name：
 * @author： liuyun
 * @phone： 15723310658
 * @createTime： 2017/12/14
 * @modifyTime： 2017/12/14
 * @explain：说明
 */


public class ShareBean implements Parcelable{
    private String shareUrl;
    private String titleString;
    private String shareContent;
    private String imageString;

    public ShareBean(String shareUrl, String titleString, String shareContent, String imageString) {
        this.shareUrl = shareUrl;
        this.titleString = titleString;
        this.shareContent = shareContent;
        this.imageString = imageString;
    }

    protected ShareBean(Parcel in) {
        shareUrl = in.readString();
        titleString = in.readString();
        shareContent = in.readString();
        imageString = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(shareUrl);
        dest.writeString(titleString);
        dest.writeString(shareContent);
        dest.writeString(imageString);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<ShareBean> CREATOR = new Creator<ShareBean>() {
        @Override
        public ShareBean createFromParcel(Parcel in) {
            return new ShareBean(in);
        }

        @Override
        public ShareBean[] newArray(int size) {
            return new ShareBean[size];
        }
    };

    public String getShareUrl() {
        return shareUrl;
    }

    public void setShareUrl(String shareUrl) {
        this.shareUrl = shareUrl;
    }

    public String getTitleString() {
        return titleString;
    }

    public void setTitleString(String titleString) {
        this.titleString = titleString;
    }

    public String getShareContent() {
        return shareContent;
    }

    public void setShareContent(String shareContent) {
        this.shareContent = shareContent;
    }

    public String getImageString() {
        return imageString;
    }

    public void setImageString(String imageString) {
        this.imageString = imageString;
    }
}
